package com.util;

import java.net.Authenticator;
import java.net.PasswordAuthentication;
/**
 * 
 * @author Administrator
 *IMC用户名密码认证器
 */
public class MyAuthenticator extends Authenticator {
	protected  PasswordAuthentication   getPasswordAuthentication()   {
			char[] password = "admin".toCharArray();
			PasswordAuthentication p = new PasswordAuthentication("admin", password);
			return  p;
	  }
}
